package io.github.novaframe.common.util.http;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

public class HttpResp implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4408840441568477013L;
	private Boolean reqSuccess = false;
	private String respContent;
	
	public HttpResp() {
		super();
	}
	public HttpResp(String respContent) {
		super();
		this.reqSuccess = true;
		this.respContent = respContent;
	}
	public Boolean getReqSuccess() {
		return reqSuccess;
	}
	public void setReqSuccess(Boolean reqSuccess) {
		this.reqSuccess = reqSuccess;
	}
	public String getRespContent() {
		return respContent;
	}
	public void setRespContent(String respContent) {
		this.respContent = respContent;
	}
	
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
